<?php
/**
 * 充值表验证器
 */

namespace app\common\validate;

class UserRechargeValidate extends Validate
{
    protected $rule = [
            'amount|金额' => 'require',
    'note|备注' => 'require',

    ];

    protected $message = [
            'amount.require' => '金额不能为空',
    'note.require' => '备注不能为空',

    ];

    protected $scene = [
        'add'  => ['amount','note',],
'edit' => ['amount','note',],

    ];

    

}
